package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CarMerchantVerification;

/**
 * 商户认证Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public interface CarMerchantVerificationMapper 
{
    /**
     * 查询商户认证
     * 
     * @param id 商户认证主键
     * @return 商户认证
     */
    public CarMerchantVerification selectCarMerchantVerificationById(Long id);

    /**
     * 查询商户认证列表
     * 
     * @param carMerchantVerification 商户认证
     * @return 商户认证集合
     */
    public List<CarMerchantVerification> selectCarMerchantVerificationList(CarMerchantVerification carMerchantVerification);

    /**
     * 新增商户认证
     * 
     * @param carMerchantVerification 商户认证
     * @return 结果
     */
    public int insertCarMerchantVerification(CarMerchantVerification carMerchantVerification);

    /**
     * 修改商户认证
     * 
     * @param carMerchantVerification 商户认证
     * @return 结果
     */
    public int updateCarMerchantVerification(CarMerchantVerification carMerchantVerification);

    /**
     * 删除商户认证
     * 
     * @param id 商户认证主键
     * @return 结果
     */
    public int deleteCarMerchantVerificationById(Long id);

    /**
     * 批量删除商户认证
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCarMerchantVerificationByIds(Long[] ids);

    public List<CarMerchantVerification> postyanzengma(String phone);

    //根据sysuserid查找商户认证
    public List<CarMerchantVerification> listVerificationBySysUserId(Integer sysUserId);
}
